#ifndef CALCULATOR_H
#define CALCULATOR_H

#include <QWidget>
#include <QGridLayout>
#include <QPushButton>
#include <QLineEdit>
#include <QVector>

#define ROW     5
#define COLUMN  4

QT_BEGIN_NAMESPACE
namespace Ui {
class Calculator;
}
QT_END_NAMESPACE

class Calculator : public QWidget
{
    Q_OBJECT

public:
    Calculator(QWidget *parent = nullptr);
    ~Calculator();

private:
    Ui::Calculator *ui;

    QGridLayout *mainLayout;
    QLineEdit *lineEdit;
    QVector<QVector<QPushButton*>> btnList;

};
#endif // CALCULATOR_H
